package com.yzjs.common.base.entity;

import java.io.Serializable;

public class ResultJson <T> implements Serializable {

    public ResultJson(T t) {
        this.t = t;
    }

    public ResultJson(String msg, String code) {
        this.msg = msg;
        this.code = code;
    }

    private String msg ="成功";

    private String code = "000000";

    private T t;


    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }
}
